<template>
  <div class="line">
    <h2>line</h2>
  </div>
</template>
<script setup>
import axios from 'axios'
import { Leaf, Leafer, Line } from 'leafer-ui';
const leafer = new Leafer({
  view: window
})
const line = new Line({
  points: [100, 100, 200, 100, 200, 200, 100, 200],
  curve: false,
  cornerRadius: 10,
  stroke: '#ccc',
  strokeWidth: 2,
  rotation: 0,
  closed: true,
})
leafer.add(line)
</script>
<style scoped lang="less">
.line {
  color: #ccc
}
</style>
